<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>页面修改</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>

</head>

<body>

	<div id="instrumentAlter">
		<h4>医疗器材 修改 页面</h4>
		<form class="form-horizontal" action="updateInstrumentByIid2.do" method="post">
			<div class="form-group">
				<label for="iid" class="col-sm-2 control-label">ID</label>
				<div class="col-sm-10">
					<input type="hidden" name="iid" id="iid" value="${instrument.iid }">
					<input type="test" disabled="disabled" class="form-control" name="iid2" id="iid2" value="${instrument.iid }"
						placeholder="清输入ID">
				</div>
			</div>
			<div class="form-group">
				<label for="iname" class="col-sm-2 control-label">药名</label>
				<div class="col-sm-10">
					<input type="textarea" class="form-control" name="iname" value="${instrument.iname }"
						id="iname" placeholder="清输入药名">
				</div>
			</div>
			<div class="form-group">
				<label for="iprice" class="col-sm-2 control-label">价格</label>
				<div class="col-sm-10">
					<input type="test" class="form-control" name="iprice" id="iprice" value="${instrument.iprice }"
						placeholder="清输入价格">
				</div>
			</div>
			<div class="form-group">
				<label for="inum" class="col-sm-2 control-label">库存</label>
				<div class="col-sm-10">
					<input type="test" class="form-control" name="inum" id="inum" value="${instrument.inum }"
						placeholder="清输入数量">
				</div>
			</div>
			<div class="form-group">
				<label for="type" class="col-sm-2 control-label">供货商</label>
				<div class="col-sm-10" id="type">
					<select name="supp.pid" class="form-control">
						<option <c:if test="${instrument.supp.pid == 1}">selected="true"</c:if> value="1">遵义市意通医药有限责任公司</option>
						<option <c:if test="${instrument.supp.pid == 2}">selected="true"</c:if> value="2">贵州鼎圣药业有限公司</option>
						<option <c:if test="${instrument.supp.pid == 3}">selected="true"</c:if> value="3">铜仁梵天药业有限公司</option>
						<option <c:if test="${instrument.supp.pid == 4}">selected="true"</c:if> value="4">国药控股贵州有限公司</option>
						<option <c:if test="${instrument.supp.pid == 5}">selected="true"</c:if> value="5">广西梧州制药(集团)股份有限公司</option>
						<option <c:if test="${instrument.supp.pid == 6}">selected="true"</c:if> value="6">飞利浦医疗</option>
						<option <c:if test="${instrument.supp.pid == 7}">selected="true"</c:if> value="7">罗氏诊断</option>
						<option <c:if test="${instrument.supp.pid == 8}">selected="true"</c:if> value="8">西门子</option>
						<option <c:if test="${instrument.supp.pid == 9}">selected="true"</c:if> value="9">美敦力</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-info">修改</button>
				</div>
			</div>
		</form>
	</div>
</body>
</html>